public class Test {
    public static void main(String[] args) {
        Date date1 = new Date(2024,7,17);
        //date1.setDate(2024,7,17);
        date1.printDate();
        date1.show();
        System.out.println("============");
        Date date2 = new Date();
        date2.printDate();
        System.out.println("============");
        Date date3 = new Date(2024,10,1);
        date3.printDate();
        date3.setDate(2024,6,1);
        date3.printDate();
    }
    public static void main1(String[] args) {
        Dog dog1 = new Dog();
        dog1.color = "黑白相间";
        dog1.name = "小花";
        dog1.bark();
        dog1.wag();
    }
}
